package com.zhan.ielts.dao;

import java.util.List;

import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;

import com.zhan.frame.core.dao.BaseDao;
import com.zhan.ielts.domain.Sentence;
import com.zhan.ielts.domain.query.SentenceQuery;
import com.zhan.ielts.domain.vo.SentenceVo;

public interface SentenceDao extends BaseDao<Sentence> {

	public List<String> selectType(Sentence query);

	public List<String> selectPassage(Sentence query);

	public List<Integer> selectParagraphNo(Sentence query);

	public PageImpl<SentenceVo> selectPageListCustom(SentenceQuery query,
			Pageable pageable);

	public List<Sentence> selectSubtypePassage(SentenceVo entity);

	public List<SentenceVo> selectBySeqNo(SentenceVo entity);

	public List<Sentence> selectByFixedConditions(SentenceVo entity);

}
